﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
</head>
<body>


多个调用
<select id="selMostlyTrade" size="6" multiple>
	<option selected="selected" value="200293">李宁</option>
</select><br />请按住ctrl多选<br />
<input type="button" id="addMostlyTrade" value="添加" /><input type="button" id="delMostlyTrade" value="删除" />

<hr />

单个调用
<input type="text" id="inpMostlyTrade"/><input type="hidden" name="" value=""/>

</body>
</html>


<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="mostlyTrade.js"></script><!-- select用这个 -->
<script type="text/javascript" src="oneMostlyTrade.js"></script><!-- input用这个 -->
<script type="text/javascript">

$(document).ready(function(){

	//多个主营行业
	mostlyTrade({
		contactBox:"#selMostlyTrade",
		addBut:"#addMostlyTrade",
		delBut:"#delMostlyTrade",
		url:"http://www.shangjia.cn/public/ajax/gbt.html"
	});
	
	//单个主营行业
	oneMostlyTrade({
		inputBox:"#inpMostlyTrade",
		url:"http://www.shangjia.cn/public/ajax/gbt.html"
	})
	
})


	
</script>


